package com.zmj.sy.mom.srv.aps.bean.vo.apsworkdetail;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
// 零件任务数据模型
public class TomorrowScheduleListVo implements Serializable {

    private Integer id;

    private Integer orderId;

    @ApiModelProperty("施工号")
    private String construNum;

    @ApiModelProperty("wp工单")
    private String nxolsection;

    @ApiModelProperty("任务唯一主键")
    private String nxolphaseid;

    @ApiModelProperty("零件PLMID")
    private String partNo;

    @ApiModelProperty("零件名称")
    private String partName;

    @ApiModelProperty("规格")
    private String dimension;

    @ApiModelProperty("计划加工数量")
    private Integer planJobCount;

    @ApiModelProperty("实际加工数量")
    private Integer finishCount;

    @ApiModelProperty("完工率")
    private BigDecimal finishRate;

    @ApiModelProperty("计划开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date planStartDate;

    @ApiModelProperty("实际报工时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date endDate;

    @ApiModelProperty("是否变红")
    private Boolean isRed = false;

    @ApiModelProperty("最迟交付时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date dueDate;

    @ApiModelProperty("下一工位")
    private String nextWorkPlace = "";

    @ApiModelProperty("下下一工位")
    private String nextTwoWorkPlace = "";

    @ApiModelProperty("设计图地址")
    private String palletingDrawingUrl = "";

    @ApiModelProperty("工位编码")
    private String workPlaceName;

    @ApiModelProperty("班次名称")
    private Integer shiftName;
//    private String shiftName;
}
